package com.asman.vr.dto

import androidx.annotation.Keep


/**
 * @author ybk
 * @date :2019-08-26 13:30
 * @desc: 账单详情
 */
@Keep
data class PayAllDetailListData(
    val accumulatePayment: Long?,//累计已付金额
    val contractPayment: Long?,//合同金额
    val name: String?,//项目名称
    val needPay: Long?,//待付金额
    val projectId: Long?,//项目id
    val stageBills: List<StageBill>?,//阶段账单
    val tradeCreateTime: String?,//订单创建时间
    val tradeId: Long?,//订单id
    val tradeTotalFee: Long?,//订单总金额
    val discountAmount: Long?//优惠金额
)

@Keep
data class StageBill(
    val accumulatePayment: Long?,//实付金额
    val paymentSeries: List<PaymentSery>?,//支付记录
    val shouldPay: Long?,//应付金额
    val stageName: String?//阶段名称， 定金，第一阶段工程款 etc.
)

@Keep
data class PaymentSery(
    val remark: String?,//审核失败原因
    val amount: Long?,//支付金额
    val paymentStatus: Int?,//支付状态 2-已支付  3-审核中  4-审核失败
    val paymentTime: String?,//支付时间
    val paymentType: String?,//支付方式   微信支付：wx_lite，支付宝支付:alipay，线下支付:offline
    val transactionNo: String?//交易流水号
)